<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/5/17
  Time: 16:29
  To change this template use File | Settings | File Templates.
--%>
<%@include file="../common/common-header.jsp"%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>${Title}</title>
</head>
<body>
    <div id="app" v-cloak>
        <h1>resume页面</h1>
    </div>
</body>
<script>
    $(function () {
        var vue = new Vue({
            el:'#app',
            data:{
            domain:[],
            userId:'',
            pageNo:'',
            pagesNum:'',
            },
            created:function () {
               this.userId='${userId}';
                $.post("/resume/findResumeByUserId",{
                    userId:this.userId,
                    pageNo:1
                },function(data){
                    this.domain=data.data.resume;
                    this.pageNo=data.data.pageNo;
                    this,pageNums=data.data.pagesNum;
                    alert(JSON.stringify(this.domain))
                },"json")
            }
        })
    })
</script>
</html>
